<?php 
if($this->facebook->checkLoginStatus()){ // fb login success OR email login success
	echo '<div class="logoutBtnFb"><a href="/houseme/FBlogout">FB登出</a></div>';

}
elseif($this->tank_auth->is_fe_logged_in()){
	echo '<div class="logoutBtnFb"><a href="/auth/fe_logout">Email登出</a></div>';	
}
else {
	echo '<div class="logBtnFb"><a href="/houseme/FBlogin">FB登入</a></div>';
	echo '<div class="logBtnEmail"><a href="#">E-mail登入</a></div>';
}
?>